﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">表单列表</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">表单列表</a></li>
				</ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">
<style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
                                   
                                   
                                   
<form  method="post" action="?app=form&act=addpost" >
<div class="search_box">
<div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle">
<span class="bold">增加表单:</span>&nbsp;&nbsp;&nbsp;表单名
 <input type="text" title="数据" value="" name="data[name]"> <input type="submit" value="提交" class="buton">

</div>

<div class="r">

</div>

</div>
</form>

<div class="clear"></div>

	
	
    <table  class="data" >
        <thead>
	
	<th>ID</th>
	<th>表单名称</th>
	  
	<th>操作</th>	
	
		
        </thead>
	    <tbody>
		
<?php foreach((array)$infos as $_key => $_value ) { ?>

<tr  >
	<td  align="center">
	{$_value.id}

	</td>
  
       
	<td  > {$_value.name}</td>
   
	<td>
    

	                                            <a href="?app=form&act=edit&id={$_value.id}" target="mainframe">修改</a>/
	                                            <a href="?app=form&act=del&id={$_value.id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a>/
								                <a href="?app=form&act=filedlist&id={$_value.id}" target="mainframe">字段管理</a>/											
								                <a href="?app=form&act=viewlist&id={$_value.id}" target="mainframe">模板管理</a>/
								                <a href="?app=formcon&act=index&tid={$_value.id}" target="mainframe">内容管理</a>                                              
	                                       
	</td>
</tr>

<?php } ?>


	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->